Visual Basic (Declaration) | |
---|---|
Public Overloads MustOverride Sub ChangeLogicalChannels( _ ByVal ParamArray channels() As Integer _ ) |
C++/CLI | |
---|---|
public: abstract void ChangeLogicalChannels( ... array<int>^ channels ) |
Parameters
- channels
- The channel numbers that correspond to the desired channels. This is the equivalent of ChannelId with the Group part of it set to the first group.
Exception | Description |
---|---|
System.ArgumentNullException | channels is null. |
System.ArgumentOutOfRangeException | channels is not possible with the currently selected hardware. |
This method assumes that each of the specified input channels will be used as a logical channel. Internally it uses an instance of LogicalChannelId for each specified input channel with the LogicalChannelOperation set to LogicalChannelOperation.None and each ChannelId instance with ChannelId.Group set to 1 (i.e. all channels assumed to be in the first group of instruments for the currently selected analyzer).
Hardware Interchangeability: Do not use this method if hardware interchangeability is important. A channel identifier is only valid and unique within the context of the model(s) of hardware being used.
Affect on Traces: Undefined. The Measurement.PresetTraces, RemoveExtra, and TraceCollection.ArrangeWindows methods may be useful in presetting traces to a default number, result assignment, and layout after changing the channel configuration.
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)